
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-gear"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-gear</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download-fill"></i>
                    <div class="name">下载</div>
                    <div class="fontclass">.icon-download-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-profile"></i>
                    <div class="name">用户信息</div>
                    <div class="fontclass">.icon-user-profile</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eye-fill"></i>
                    <div class="name">眼睛</div>
                    <div class="fontclass">.icon-eye-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-circle-fat"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-user-circle-fat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gear-fill"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-gear-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tag"></i>
                    <div class="name">标签</div>
                    <div class="fontclass">.icon-tag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq-circle"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.icon-qq-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-history"></i>
                    <div class="name">历史记录</div>
                    <div class="fontclass">.icon-history</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pad-inspect"></i>
                    <div class="name">查找</div>
                    <div class="fontclass">.icon-pad-inspect</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mobile"></i>
                    <div class="name">手机</div>
                    <div class="fontclass">.icon-mobile</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-map-marker"></i>
                    <div class="name">位置</div>
                    <div class="fontclass">.icon-map-marker</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-share"></i>
                    <div class="name">分享</div>
                    <div class="fontclass">.icon-share</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trash"></i>
                    <div class="name">垃圾桶</div>
                    <div class="fontclass">.icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star-o"></i>
                    <div class="name">星星</div>
                    <div class="fontclass">.icon-star-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin-circle"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-split"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-user-split</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close-circle"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-close-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus-circle"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.icon-plus-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-category"></i>
                    <div class="name">Category</div>
                    <div class="fontclass">.icon-category</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comments"></i>
                    <div class="name">comments</div>
                    <div class="fontclass">.icon-comments</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-reply-fill"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-reply-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-warning"></i>
                    <div class="name">警告</div>
                    <div class="fontclass">.icon-warning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontcolor45"></i>
                    <div class="name">文档</div>
                    <div class="fontclass">.icon-iconfontcolor45</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin-fill"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-check"></i>
                    <div class="name">对号</div>
                    <div class="fontclass">.icon-check</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-news"></i>
                    <div class="name">新闻</div>
                    <div class="fontclass">.icon-news</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-times-circle-fill"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-times-circle-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-up-ceil"></i>
                    <div class="name">置顶</div>
                    <div class="fontclass">.icon-arrow-up-ceil</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bell-fill"></i>
                    <div class="name">remind_fill</div>
                    <div class="fontclass">.icon-bell-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bell"></i>
                    <div class="name">remind</div>
                    <div class="fontclass">.icon-bell</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-camera"></i>
                    <div class="name">相机</div>
                    <div class="fontclass">.icon-camera</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq"></i>
                    <div class="name">qq</div>
                    <div class="fontclass">.icon-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq-fill"></i>
                    <div class="name">qq</div>
                    <div class="fontclass">.icon-qq-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-envelope"></i>
                    <div class="name">信封</div>
                    <div class="fontclass">.icon-envelope</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-envelope-fill"></i>
                    <div class="name">信封</div>
                    <div class="fontclass">.icon-envelope-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eye"></i>
                    <div class="name">眼睛</div>
                    <div class="fontclass">.icon-eye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-map-marker-split"></i>
                    <div class="name">位置</div>
                    <div class="fontclass">.icon-map-marker-split</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">主页</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-speaker"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.icon-speaker</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up"></i>
                    <div class="name">向上2</div>
                    <div class="fontclass">.icon-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down"></i>
                    <div class="name">向下2</div>
                    <div class="fontclass">.icon-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right"></i>
                    <div class="name">向右1</div>
                    <div class="fontclass">.icon-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left"></i>
                    <div class="name">向左1</div>
                    <div class="fontclass">.icon-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-triangle-right-fill"></i>
                    <div class="name">三角</div>
                    <div class="fontclass">.icon-triangle-right-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumb-up-fill"></i>
                    <div class="name">赞同-fill</div>
                    <div class="fontclass">.icon-thumb-up-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumb-up"></i>
                    <div class="name">赞同</div>
                    <div class="fontclass">.icon-thumb-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pdf-win8"></i>
                    <div class="name">pdf</div>
                    <div class="fontclass">.icon-pdf-win8</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus-square"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.icon-plus-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pencil-pad-hard"></i>
                    <div class="name">纸笔 编辑</div>
                    <div class="fontclass">.icon-pencil-pad-hard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diamond"></i>
                    <div class="name">钻石</div>
                    <div class="fontclass">.icon-diamond</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat-circle-1"></i>
                    <div class="name">对话</div>
                    <div class="fontclass">.icon-chat-circle-1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-3"></i>
                    <div class="name">用户群</div>
                    <div class="fontclass">.icon-user-3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibo-fill"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-weibo-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fail"></i>
                    <div class="name">失败</div>
                    <div class="fontclass">.icon-fail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star"></i>
                    <div class="name">星星</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat-circle-2"></i>
                    <div class="name">对话</div>
                    <div class="fontclass">.icon-chat-circle-2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat-circle-3"></i>
                    <div class="name">对话</div>
                    <div class="fontclass">.icon-chat-circle-3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comment-dot-circle"></i>
                    <div class="name">对话</div>
                    <div class="fontclass">.icon-comment-dot-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-img-square"></i>
                    <div class="name">img</div>
                    <div class="fontclass">.icon-img-square</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rocket-lean"></i>
                    <div class="name">火箭</div>
                    <div class="fontclass">.icon-rocket-lean</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-triangle-down-fill"></i>
                    <div class="name">三角</div>
                    <div class="fontclass">.icon-triangle-down-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibo"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-weibo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibo-circle"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-weibo-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-3-o"></i>
                    <div class="name">用户群</div>
                    <div class="fontclass">.icon-user-3-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eye-close"></i>
                    <div class="name">闭眼</div>
                    <div class="fontclass">.icon-eye-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">搜索_搜索</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart"></i>
                    <div class="name">爱心</div>
                    <div class="fontclass">.icon-heart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart-o"></i>
                    <div class="name">爱心</div>
                    <div class="fontclass">.icon-heart-o</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-confirm-agreement"></i>
                    <div class="name">同意</div>
                    <div class="fontclass">.icon-confirm-agreement</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-circle"></i>
                    <div class="name">down_b</div>
                    <div class="fontclass">.icon-down-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up-circle"></i>
                    <div class="name">up_b</div>
                    <div class="fontclass">.icon-up-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-circle"></i>
                    <div class="name">left_b</div>
                    <div class="fontclass">.icon-left-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-circle"></i>
                    <div class="name">right_b</div>
                    <div class="fontclass">.icon-right-circle</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
